/*
 * Config.h
 *
 *  Created on: 2011-05-07
 *      Author: czareq
 */

#ifndef Config_H_
#define Config_H_

#include <limits.h>

#define ERROR INT_MAX
#define MIN_SCORE INT_MIN
const double PI = 3.14159265358979323851280895940618620443274267017841339111328125;

/*
 * code parameters
 */
const int X_CODE_RES = 300;
const int Y_CODE_RES = 300;
const int CODE_SEP = 25; // size of crate code
const int CODE_ANGLE_SEP = 30;

/*
 * warper parameters
 */
const double COVER_STEP = 0.5; // n-th code steep field analyzed
const int X_STEP = (int) (COVER_STEP * CODE_SEP);
const int Y_STEP = (int) (COVER_STEP * CODE_SEP);
const int ANGLE_STEP = 15;
const int ANGLE_STEP_RANGE = 45;

/*
 * comparer parameters
 */
const int MATCH_POINT = 500;
const int DIS_MATCH_POINT = 500;
const int MIS_MATCH_SCORE = 100;
#endif /* Config_H_ */
